projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bd5084
)
(w32_to_x_font): Fix bad merge.
author
Jason Rumney
<jasonr@gnu.org>
Thu, 6 Dec 2007 15:17:39 +0000
(15:17 +0000)
committer
Jason Rumney
<jasonr@gnu.org>
Thu, 6 Dec 2007 15:17:39 +0000
(15:17 +0000)
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index 3e4413a0beee8b0a2b05bf78e85eba8a3d8f7df1..441ad0f60dc9b02f8e753bf924e022a70867a944 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-5535,9
+5535,6
@@
w32_to_x_font (lplogfont, lpxstr, len, specific_charset)
strlen(lplogfont->lfFaceName), Qnil);
fontname = coding.destination;
- fontname = alloca (sizeof (*fontname) * bufsz);
- decode_coding (&coding, lplogfont->lfFaceName, fontname,
- strlen (lplogfont->lfFaceName), bufsz - 1);
*(fontname + coding.produced) = '\0';
/* Replace dashes with underscores so the dashes are not